package com.yungu.swift.report.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * ReportOrderAllocateDay
 **/
@Data
public class ReportOrderAllocateDay implements Serializable {

    @ApiModelProperty(value = "主键")
    private String uuid;

    @ApiModelProperty(value = "记录日期")
    private Date recordDate;

    @ApiModelProperty(value = "模块类型（0：全部业务，1：出租车，2：专车，3：快车，4：跨城拼车,5：跨城小件）", example = "0")
    private Integer typeModule;

    @ApiModelProperty(value = "appid")
    private String appid;

    @ApiModelProperty(value = "代理uuid")
    private String agentUuid;

    @ApiModelProperty(value = "公司uuid")
    private String companyUuid;

    @ApiModelProperty(value = "即时订单量", example = "0")
    private Integer realMun;

    @ApiModelProperty(value = "即时派单时间（单位：分钟）", example = "0.0")
    private Double realAllocatedTime;

    @ApiModelProperty(value = "即时派单量", example = "0")
    private Integer realAllocatedMun;

    @ApiModelProperty(value = "预约订单量", example = "0")
    private Integer reserveMun;

    @ApiModelProperty(value = "预约派单总时间(单位：分钟）", example = "0.0")
    private Double reserveAllocatedTime;

    @ApiModelProperty(value = "预约派单量", example = "0")
    private Integer reserveAllocatedMun;

    @ApiModelProperty(value = "总订单量", example = "0")
    private Integer totalMun;

    @ApiModelProperty(value = "总派单时间(单位：分钟）", example = "0.0")
    private Double totalAllocatedTime;

    @ApiModelProperty(value = "总派单量", example = "0")
    private Integer totalAllocatedMun;

    //非数据库字段

    @ApiModelProperty(value = "派单成功率", example = "0.0")
    private Double allocatedRate;

    @ApiModelProperty(value = "平均派单时间", example = "0.0")
    private Double avgAllocatedTime;

    @ApiModelProperty(value = "即时派单成功率", example = "0.0")
    private Double realAllocatedRate;

    @ApiModelProperty(value = "预约派单成功率", example = "0.0")
    private Double reserveAllocatedRate;

    @ApiModelProperty(value = "平均派单时间：即时", example = "0.0")
    private Double avgRealAllocatedTime;

    @ApiModelProperty(value = "平均派单时间：预约", example = "0.0")
    private Double avgReserveAllocatedTime;
}
